#include "Solution.h"
#include <iostream>

using namespace std;
int main()
{
	int A[] = {3,2,1,0,4};
	cout<<Solution().canJump(A,5);
	cin.get();
}